{% extends "layout.html" %}

{% block title %}Détail utilisateur admin{% endblock %}

{% block content %}



<form method="post" class="form-horizontal">

		<div class="form-actions">
                              
                                           
                      <button type="submit" class="btn btn-primary" name="action" value="update">Mise à jour du compte client</button>
                     
					  
                      
    <div class="btn-group">
					  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						Actions
						<span class="caret"></span>
					  </a>

						<ul class="dropdown-menu">
							
                            <li><a href="liste-utilisateur-admin"><i class="icon-eye-open"></i> Afficher la liste des utilisateurs</a></li>
                        
                            
							
					  </ul>
					</div>
                    </div>

	<div class="row">
	
	 <!-- Premi�re colonne -->
	<div class="span5">
	
	  <fieldset>
		<legend>Informations </legend>

	 <div class="control-group">
		<label class="control-label" for="username">Identifiant </label>
		<div class="controls">
		
		<div class="input-prepend">
		   <span class="add-on"><i class="icon-user"></i></span>
		   <input name="username" type="text" value="{{client.username}}" /> 
		</div>
		  
		</div>
	  </div>
	 
	  <div class="control-group">
		<label class="control-label" for="password">Mot de passe </label>
		<div class="controls">
		
		<div class="input-prepend">
		   <span class="add-on"><i class="icon-lock"></i></span>
		   <input name="password" type="text" value=""  /> 
		</div>
		  
		</div>
	  </div>
	
	   <div class="control-group">
		<label class="control-label" for="admin">Niveau d'administration</label>
		<div class="controls">
		   <select name="admin" size="1">
		   <option value="">Selectionnez...</option>
			  <option value="1" {% if client.admin== "1" %}selected{% endif %}>Acces Total</option>
			  <option value="2" {% if client.admin== "2" %}selected{% endif %}>Acces NVNO Mobile</option>
			  <option value="3" {% if client.admin== "3" %}selected{% endif %}>Acces Fixe NVNO</option>
			  <option value="4" {% if client.admin== "4" %}selected{% endif %}>Acces Fixe Mobile NVNO</option>
               <option value="5" {% if client.admin== "5" %}selected{% endif %}>Acces Admin Mobile</option> 
               <option value="6" {% if client.admin== "6" %}selected{% endif %}>Acces Integrateur Mobile</option>
               <option value="7" {% if client.admin== "7" %}selected{% endif %}>Acces Integrateur Fixe Mobile</option>
               <option value="8" {% if client.admin== "8" %}selected{% endif %}>Acces Admin Fixe Mobile</option>
               <option value="9" {% if client.admin== "9" %}selected{% endif %}>Acces Integrateur sans gestion</option>
               <option></option>
			</select>
		</div>
	  </div>
	
	   
      
  </fieldset>
  
  
  
	</div>
	</div>
    

   
		<div class="form-actions">
                              
                                           
                      <button type="submit" class="btn btn-primary" name="action" value="update">Mise à jour du compte client</button>
                     
					  
                      
    <div class="btn-group">
					  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						Actions
						<span class="caret"></span>
					  </a>

						<ul class="dropdown-menu">
							
                            <li><a href="liste-utilisateur-admin"><i class="icon-eye-open"></i> Afficher la liste des clients</a></li>
                         
							
					  </ul>
					</div>
                    </div>
   


    
   </form> 
    
		
		
	
</form>

{% endblock %}
	
